/*
 * rectangle.h
 *
 *  Created on: 09 Nis 2012
 *      Author: hframe
 */

#ifndef RECTANGLE_H_
#define RECTANGLE_H_

#include  "polygon.h"
#include "../../drawing/point.h"
#include "../../drawing/color.h"

startnamespace(androidplus)
startnamespace(ui)
startnamespace(widget )

class rectangle: public polygon {
public:
	rectangle(drawing::point lefttop ,drawing::point  rightbottom);
	virtual ~rectangle();


public:
	drawing::point left_top;
	drawing::point right_top;
	drawing::point left_bottom;
	drawing::point right_bottom;








};

endnamespace(widget)
endnamespace(ui)
endnamespace(androidplus)

namespace androidplus {

class rectangle {
public:
	rectangle();
	virtual ~rectangle();
};

} /* namespace androidplus */
#endif /* RECTANGLE_H_ */

